package com.example.ch_71;

// 接收者，处理者 Receiver
public class Adder {
    private int sum;
    public int add(int i) {
        sum += i;
        return sum;
    }
    public int getSum() {
        return sum;
    }
}

